package com.bbdjt.weixin.model;


import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.apache.ibatis.type.Alias;

import java.io.Serializable;


import java.util.Date;

@Alias("syllabus")
@Table(name = "syllabus")
public class Syllabus implements Serializable  {
	//医生姓名
	@Transient
	private String doctorName;
	@Transient
	private String hospital;
	@Transient
	private Integer patientId;
	@Transient
	private Integer type;
//使用@Transient注解可以忽略字段,添加该注解的字段不会作为表字段使用
	@Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
	//课程表ID							
	@Column(name = "id")
	private Integer id;
	//课程名称							
	@Column(name = "syllabus_name")
	private String syllabusName;
	//医生ID							
	@Column(name = "doctor_id")
	private Integer doctorId;
	//医生录音文件URL
	@Column(name = "tape_url")
	private String tapeUrl;
	//课堂课件URL							
	@Column(name = "courseware_url")
	private String coursewareUrl;
	//医生讲课开始时间							
	@Column(name = "auditorium_start_time")
	private Date auditoriumStartTime;
	//创建时间							
	@Column(name = "create_date")
	private Date createDate;
	//课程类型
	@Column(name = "syllabus_type")
	private Integer syllabusType;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	public String getSyllabusName() {
		return syllabusName;
	}

	public void setSyllabusName(String syllabusName) {
		this.syllabusName = syllabusName;
	}
	public Integer getDoctorId() {
		return doctorId;
	}

	public void setDoctorId(Integer doctorId) {
		this.doctorId = doctorId;
	}
	
	public String getTapeUrl() {
		return tapeUrl;
	}

	public void setTapeUrl(String tapeUrl) {
		this.tapeUrl = tapeUrl;
	}

	public String getCoursewareUrl() {
		return coursewareUrl;
	}

	public void setCoursewareUrl(String coursewareUrl) {
		this.coursewareUrl = coursewareUrl;
	}
	public Date getAuditoriumStartTime() {
		return auditoriumStartTime;
	}

	public void setAuditoriumStartTime(Date auditoriumStartTime) {
		this.auditoriumStartTime = auditoriumStartTime;
	}
	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getDoctorName() {
		return doctorName;
	}

	public void setDoctorName(String doctorName) {
		this.doctorName = doctorName;
	}

	public String getHospital() {
		return hospital;
	}

	public void setHospital(String hospital) {
		this.hospital = hospital;
	}

	public Integer getPatientId() {
		return patientId;
	}

	public void setPatientId(Integer patientId) {
		this.patientId = patientId;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getSyllabusType() {
		return syllabusType;
	}

	public void setSyllabusType(Integer syllabusType) {
		this.syllabusType = syllabusType;
	}
	
}